//
//  LZMusicOperationTool.m
//  QQ音乐
//
//  Created by 1 on 15/11/22.
//  Copyright © 2015年 xiaomage. All rights reserved.
//

#import "LZMusicOperationTool.h"
#import "LZAudioTool.h"

@interface LZMusicOperationTool()

/** 单个音乐播放的工具类 */
@property (nonatomic ,strong) LZAudioTool *audioTool;

@end


@implementation LZMusicOperationTool

single_implementation(LZMusicOperationTool)

- (LZAudioTool *)audioTool
{
    if(!_audioTool)
    {
        _audioTool = [[LZAudioTool alloc] init];
    }
    return _audioTool;
}

- (void)playMusicWithMusicM:(LZMusicModel *)musicM
{
    [self.audioTool playAudioWith:musicM.filename];
    
}

@end
